package com.dm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dm.dto.TableOne;
import com.dm.mapper.TestMapper;
import com.dm.service.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author God.Jhon.Black
 * @date 2023-01-19
 */
@Service
public class TestServiceImpl implements TestService {

    @Resource
    private TestMapper testMapper;

    @Override
    public TableOne get() {
        return testMapper.selectById(1);
    }
}
